package com.flame.workflow.id.service;

import java.util.List;
import java.util.Set;

import com.flame.workflow.id.entity.WorkflowOrganization;
import com.flame.workflow.id.entity.WorkflowRole;
import com.flame.workflow.id.entity.WorkflowUser;

/**
 *
 *
 * @author wuxintong😺😺😺
 * @since 2023/11/6
 */
public interface IdentityService {

    WorkflowUser getUserByUserId(String userId);

    List<WorkflowUser> listWorkflowUserByUserIds(List<String> userIdList);

    Set<String> listWorkflowUserIdByRoleCode(String roleCode);

    List<WorkflowUser> listWorkflowUserByOrgCode(String orgCode);

    List<WorkflowRole> listWorkflowRole();

    List<WorkflowRole> listWorkflowRoleByRoleCodes(List<String> roleCodeList);

    WorkflowOrganization getOrgByOrgCode(String orgCode);

    List<WorkflowOrganization> listWorkflowOrganization();
}
